# -*- coding: utf-8 -*-
# @Author : Yuan
from django.urls import path
from apps.users.views import *


urlpatterns = [
    path('usernames/<username:username>/count/', UsernameCountView.as_view()),
    path('mobiles/<mobile:mobile>/count/', MobileCountView.as_view()),
    path('register/', RegisterView.as_view()),
    path('login/', LoginView.as_view()),
    path('logout/', LogoutView.as_view()),
    path('info/', UserInfoView.as_view()),
    path('emails/', EmailView.as_view()),
    path('emails/verification/', VerifyEmailView.as_view()),
    path('password/', UpdatePasswordView.as_view()),
    path('browse_histories/', VisitedHistoryView.as_view()),
]

